#include<stdio.h>

double a, b, c, d;

double calc(double x) {
    return (((a * x + b) * x + c) * x + d);
}

int main() {
    scanf("%lf %lf %lf %lf", &a, &b, &c, &d);
    double x;
    for(x = -100; x < 100;x += 0.5) {
        if((calc(x) > 0) == (calc(x + 0.5) > 0)) continue; // 同号
        double l = x, r = x + 0.5;
        while(r - l > 1e-6) {
            double mid = (l + r) / 2;
            if((calc(l) > 0) == (calc(mid) > 0)) l = mid; // f(l) 和 f(mid) 同号，说明根在 [mid, r] 中
            else r = mid;
        }
        printf("%.2f ", l);
    }
}